home *** CD-ROM | disk | FTP | other *** search
/ Freelog 125 / Freelog_MarsAvril2015_No125.iso / ViePratique / gnucash / gnucash-2.6.5-setup.exe / {app} / share / themes / Nodoka-Midnight / gtk-2.0 / gtkrc
Text File  |  2008-11-01  |  8KB  |  302 lines

  1. # Fedora Nodoka gtkrc, based on Aqualooks
  2. #
  3. # Authors:
  4. # Daniel Geiger <dgeiger_343@yahoo.com>
  5. # Martin Sourada <martin.sourada@seznam.cz>
  6. #
  7. # Uses the Nodoka theme engine, forked from Murrine theme engine
  8.  
  9. gtk_color_scheme = "fg_color:#D4D4D4\nbg_color:#333333\nbase_color:#474747\ntext_color:#D4D4D4\nselected_bg_color:#0081DE\nselected_fg_color:#ffffff\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000"
  10.  
  11. style "fedora-default"
  12. {
  13.  
  14.     GtkButton::default_border    = { 0, 0, 0, 0 }
  15.     GtkButton::child-displacement-x    = 0
  16.     GtkButton::child-displacement-y    = 1
  17.  
  18.     GtkRange::trough_border        = 0
  19.     GtkRange::slider_width        = 14
  20.     GtkRange::stepper_size        = 14
  21.       GtkRange::stepper_spacing    = 0
  22.  
  23.     GtkScale::slider-length        = 28
  24.  
  25.     GtkPaned::handle_size        = 6
  26.  
  27.     GtkScrollbar::min_slider_length    = 40
  28.     GtkCheckButton::indicator_size    = 13
  29.       GtkRadioButton::indicator_size    = 13
  30.     GtkMenuBar::internal-padding    = 0
  31.     GtkTreeView::expander_size    = 14
  32.     GtkExpander::expander_size    = 16
  33.  
  34.     xthickness            = 1
  35.     ythickness            = 1
  36.  
  37.     fg[NORMAL]           =  @fg_color
  38.     fg[ACTIVE]           =  @fg_color
  39.     fg[PRELIGHT]         =  @fg_color
  40.     fg[SELECTED]         =  @selected_fg_color
  41.     fg[INSENSITIVE]      =  @selected_fg_color
  42.  
  43.     bg[NORMAL]           =  @bg_color
  44.     bg[ACTIVE]            =  shade (1.025,@bg_color)
  45.     bg[PRELIGHT]         =  shade (1.10,@bg_color)
  46.     bg[SELECTED]            =  @selected_bg_color
  47.     bg[INSENSITIVE]      =  shade (1.025,@bg_color) 
  48.     
  49.     base[NORMAL]         =  @base_color
  50.     base[ACTIVE]         =  shade (0.65,@base_color) 
  51.     base[PRELIGHT]       =  @base_color
  52.     base[SELECTED]        =  @selected_bg_color
  53.     base[INSENSITIVE]    =  shade (1.025,@bg_color)
  54.         
  55.     text[NORMAL]         =  @text_color
  56.     text[ACTIVE]        =  shade (0.65,@text_color)
  57.     text[PRELIGHT]       =  @text_color
  58.     text[SELECTED]       =  @selected_fg_color
  59.     text[INSENSITIVE]    =  shade (1.70,@bg_color)
  60.  
  61.     engine "nodoka"
  62.     {
  63. #        scrollbar_color        = shade (1.040897799, "#008DD7")
  64.         animation        = TRUE # FALSE = disabled, TRUE = enabled
  65. #        contrast        = 1.0
  66. #        gradients        = FALSE
  67. #        hilight_ratio        = 0.909090909
  68.         listviewheaderstyle    = 1 # 0 = flat, 1 = gradient, 2 = raised
  69.         listviewstyle        = 1 # 0 = nothing, 1 = dotted
  70.         menubarstyle        = 3 # 0 = flat, 1 = normal raised gradient, 2 = normal lowered gradient, 3 = menubar gradient
  71.         toolbarstyle        = 2 # 0 = flat, 1 = normal raised gradient, 2 = normal lowered gradient, 3 = menubar gradient
  72.         roundness        = 3 # 0 = squared, 1 = old default, more will increase roundness
  73.         scrollbarstyle        = 1 # 0 = nothing, 1 = circles, 2 = bars
  74.         stripes            = TRUE # enable or disable stripes in progressbars
  75.         bullet_color        = "#0c90c7"
  76.         focus_fill        = TRUE # enable or disable focus overlay fill
  77.         focus_inner        = FALSE    # TRUE = secondary focus ring inside, FALSE = secondary focus ring outside widgets
  78.     }
  79.  
  80. }
  81.  
  82. # Evolution (and some deprecated widgets) use bg and fg for its listview instead of 
  83. # base and text like they should, so we override it.
  84. style "evolution-hack" = "fedora-default"
  85. {    
  86.     bg[ACTIVE]    = @bg_color
  87. }
  88.  
  89. style "evolution-hack-tree" = "fedora-default"
  90. {    
  91.     bg[ACTIVE]    = mix (0.8, @bg_color, @selected_bg_color)
  92.     bg[SELECTED]    = shade (1.040897799, @selected_bg_color)
  93.     fg[ACTIVE]    = @text_color
  94.     fg[SELECTED]    = @selected_fg_color
  95. }
  96.  
  97. style "fedora-wide" = "fedora-default"
  98. {
  99.     xthickness    = 2
  100.     ythickness    = 2
  101. }
  102.  
  103. style "fedora-wider" = "fedora-default"
  104. {
  105.     xthickness    = 3
  106.     ythickness    = 3
  107. }
  108.  
  109. style "fedora-button" = "fedora-wider"
  110. {
  111.     bg[NORMAL]   =  shade (1.35,@bg_color)
  112.     bg[ACTIVE]   =  shade (0.85,@bg_color)
  113.     bg[PRELIGHT] =  mix(0.60, shade (1.35,@bg_color), @selected_bg_color)
  114.  
  115.     #for arrows
  116.     text[SELECTED]   =  shade (0.75,@selected_fg_color)
  117. }
  118.  
  119. style "fedora-notebook" = "fedora-wide"
  120. {
  121.     bg[NORMAL] =  shade (1.10,@bg_color)
  122.     fg[ACTIVE] =  shade (0.6,@fg_color)
  123.     bg[ACTIVE] =  shade (0.90,@bg_color)
  124.     bg[SELECTED] =  mix(0.70, @selected_bg_color, shade (1.10,@bg_color))
  125. }
  126.  
  127. style "fedora-menubar" = "fedora-default"
  128. {
  129. #    bg[NORMAL]    = mix (0.8, lighter(@bg_color), shade(1.040897799, @selected_bg_color))
  130.     fg[PRELIGHT]      =  @selected_fg_color
  131.     text[PRELIGHT] =  @selected_fg_color
  132. }
  133.  
  134. style "fedora-panel-menubar" = "fedora-menubar"
  135. {
  136.     fg[PRELIGHT]    = @selected_fg_color
  137.     text[PRELIGHT]    = @selected_fg_color
  138. }
  139.  
  140. style "fedora-menu" = "fedora-default"
  141. {
  142.     xthickness    = 2
  143.  
  144.     bg[NORMAL] = shade (1.15,@bg_color)
  145. }
  146.  
  147. style "fedora-menu-item" = "fedora-menu"
  148. {
  149.     xthickness    = 3
  150.     ythickness    = 3
  151.  
  152.      fg[PRELIGHT]      =  @selected_fg_color
  153.     text[PRELIGHT] =  @selected_fg_color
  154. }
  155.  
  156. style "fedora-tree" = "fedora-wide"
  157. {
  158.     bg[NORMAL]   =  shade (1.10,@bg_color)
  159.      bg[PRELIGHT] = shade (1.30,@bg_color)
  160.      bg[ACTIVE]   =  mix(0.85,  shade (1.05,@bg_color), @selected_bg_color)
  161. }
  162.  
  163. style "fedora-frame-title" = "fedora-default"
  164. {
  165.     fg[NORMAL]    =  @text_color
  166. }
  167.  
  168. style "fedora-tooltips"
  169. {
  170.     xthickness    = 4
  171.     ythickness    = 4
  172.  
  173.     bg[NORMAL]    = @tooltip_bg_color
  174.     fg[NORMAL]    = @tooltip_fg_color
  175. }
  176.  
  177. style "fedora-progressbar" = "fedora-wide"
  178. {
  179.       bg[NORMAL]      = shade (0.80, @bg_color)
  180.       bg[SELECTED]    = shade (0.80, @selected_bg_color)
  181.     fg[PRELIGHT]    = @selected_fg_color
  182. }
  183.  
  184. style "fedora-combo" = "fedora-button"
  185. {
  186. }
  187.  
  188. style "fedora-status" = "fedora-wide"
  189. {
  190.     GtkStatusbar    ::shadow-type    = GTK_SHADOW_IN
  191. }
  192.  
  193. style "fedora-entry" = "fedora-button"
  194. {
  195.     GtkWidget    ::focus-line-width    = 2
  196.     GtkEntry    ::shadow-type        = GTK_SHADOW_IN
  197. }
  198.  
  199. style "fedora-scrollbar" = "fedora-button"
  200. {
  201. #    text[NORMAL]        = shade (0.2, @bg_color)
  202. #    text[PRELIGHT]        = shade (0.2, @bg_color)
  203. #    text[ACTIVE]        = @text_color
  204. }
  205.  
  206. style "fedora-scale" = "fedora-button"
  207. {
  208.  
  209.     GtkRange    ::trough-side-details    = 0
  210.     GtkRange    ::slider_width        = 16
  211.  
  212.       bg[SELECTED]    = shade (0.90, @selected_bg_color)
  213.     fg[PRELIGHT]    = shade(1.1946, @selected_fg_color)
  214. }
  215.  
  216. style "fedora-checkbutton" = "fedora-button"
  217. {
  218.     bg[PRELIGHT]    = @bg_color
  219. }
  220.  
  221. style "fedora-spin-button" = "fedora-entry"
  222. {
  223. }
  224.  
  225. style "fedora-toolbar" = "fedora-default"
  226. {
  227.     bg[NORMAL] = shade (1.2,@bg_color)
  228. }
  229.  
  230. style "fedora-frame" = "fedora-wide"
  231. {
  232. }
  233.  
  234. # widget styles
  235. class "GtkWidget"    style "fedora-default"
  236. class "GtkButton"    style "fedora-button"
  237. class "GtkCombo"    style "fedora-combo"
  238. class "GtkRange"    style "fedora-wide"
  239. class "GtkFrame"    style "fedora-frame"
  240. class "GtkMenu"        style "fedora-menu"
  241. class "GtkEntry"    style "fedora-entry"
  242. class "GtkMenuItem"    style "fedora-menu-item"
  243. class "GtkNotebook"    style "fedora-notebook"
  244. class "GtkProgressBar"    style "fedora-progressbar"
  245. class "GtkMenuBar"    style "fedora-menubar"
  246. class "GtkStatusbar"    style "fedora-status"
  247. class "GtkScrollbar"    style "fedora-scrollbar"
  248. class "GtkHBox"        style "fedora-wider"
  249. class "GtkScale"    style "fedora-scale"
  250. class "GtkCheckButton"    style "fedora-checkbutton"
  251. class "GtkSpinButton"    style "fedora-spin-button"
  252. class "GtkToolbar"    style "fedora-toolbar"
  253.  
  254. widget_class "*MenuItem.*"        style "fedora-menu-item"
  255.  
  256. # combobox stuff
  257. widget_class "*.GtkComboBox.GtkButton"    style "fedora-combo"
  258. widget_class "*.GtkCombo.GtkButton"    style "fedora-combo"
  259. widget_class "*.GtkComboBox.GtkFrame"    style "fedora-wider"
  260.  
  261. # tooltips stuff
  262. widget "gtk-tooltip*"            style "fedora-tooltips"
  263.  
  264. # treeview stuff
  265. widget_class "*.GtkTreeView.GtkButton"    style "fedora-tree"
  266. widget_class "*.GtkCTree.GtkButton"    style "fedora-tree"
  267. widget_class "*.GtkList.GtkButton"    style "fedora-tree"
  268. widget_class "*.GtkCList.GtkButton"    style "fedora-tree"
  269. widget_class "*.GtkFrame.GtkLabel"    style "fedora-frame-title"
  270.  
  271. # notebook stuff
  272. widget_class "*.GtkNotebook.*.GtkEventBox"    style "fedora-notebook"
  273. widget_class "*.GtkNotebook.*.GtkViewport"    style "fedora-notebook"
  274. widget_class "*.GtkNotebook.GtkLabel*"         style "fedora-notebook" #for tabs
  275. widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "fedora-notebook"
  276. widget_class "*<GtkNotebook>*<GtkLayout>"       style "fedora-notebook"
  277.  
  278. # these should really use base and text colors instead
  279. widget_class "*GtkCTree*"    style "evolution-hack-tree"
  280. widget_class "*GtkList*"    style "evolution-hack-tree"
  281. widget_class "*GtkCList*"    style "evolution-hack-tree"
  282. widget_class "*.ETree.*"    style "evolution-hack-tree"
  283. widget_class "*EInfoLabel*"    style "evolution-hack"
  284.  
  285. #panel bg hack
  286. widget "*Panel*Menu*"        style "fedora-panel-menubar"
  287.  
  288. #evolution new button workaround (should be fixed in Evo 2.24)
  289. style "fedora-evo-new-button-workaround"
  290. {
  291.     bg[NORMAL] = @bg_color
  292.     engine "nodoka"
  293.     {
  294.         toolbarstyle = 0
  295.     }
  296. }
  297.  
  298. widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "fedora-evo-new-button-workaround"
  299.  
  300. widget_class "*.<GtkProgress>"       style "fedora-progressbar"
  301.  
  302.